<extend name="Base/common"/>
<block name="body"> 
    <section class="container">
      <div class="content-wrap">
        <div class="content">
        <if condition="$topAd">
           <div id="focusslide" class="carousel slide" data-ride="carousel">
            <ol class="carousel-indicators">
             <volist name="topAd" id="v">
              <li data-target="#focusslide" data-slide-to="{$key}"></li>
              </volist>
            </ol>
            <div class="carousel-inner" role="listbox">
            
            <volist name="topAd" id="v">
            <if condition="$key eq 1">
              <div class="item active">
                <a href="{$v['url']}" target="_blank" title="">
                  <img src="{$Think.const.STATIC_DOMAIN}{$v['img']}" alt="{$v['title']}" title="{$v['title']}" class="img-responsive"></a>
              </div>
              <else/>
                   <div class="item">
                <a href="{$v['url']}" target="_blank" title="">
                  <img src="{$Think.const.STATIC_DOMAIN}{$v['img']}" alt="{$v['title']}" title="{$v['title']}" class="img-responsive"></a>
              </div>
              </if>
            </volist>
           

            </div>
            <a class="left carousel-control hidden-xs" href="#focusslide" role="button" data-slide="prev" rel="nofollow">
              <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
              <span class="sr-only">上一个</span></a>
            <a class="right carousel-control hidden-xs" href="#focusslide" role="button" data-slide="next" rel="nofollow">
              <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
              <span class="sr-only">下一 个</span></a>
          </div> 
          </if> 
              <volist name="recommend" id="r">
                  <article class="excerpt-minic excerpt-minic-index hidden-xs">
                    <h2>
                   
                        <span class="red">【推荐】</span>
                            <if condition="$r['count'] gt 1">
                            <a target="_blank" href="/detail/{$r.pin_yin.'&'.'id'.'='.$r.id}" title="">{$r.title}</a>
                            <else/>
                              <a target="_blank" href="/detail/{$r.pin_yin}" title="">{$r.title}</a>
                            </if>
                    
                    </h2>
                        <p class="note">{$r.description}</p>

                  </article>
                
              </volist>
            
          <div class="title">
           <if condition="0">

            <h3>最新发布</h3>
              <!--  <div class="more">
              <a href="#" title="MZ-NetBlog主题">MZ-NetBlog主题</a>
              <a href="#" title="IT技术笔记">IT技术笔记</a>
              <a href="#" title="源码分享">源码分享</a>
              <a href="#" title="靠谱网赚">靠谱网赚</a>
              <a href="#" title="资讯分享">资讯分享</a></div>-->
              </if>
          </div>

          <volist name='lists' id='document' key="key">
          <article class="excerpt excerpt-1">

          <!--  -->
              <if condition="$document['count'] gt 1">
                <a class="focus" href="{:url_route('detail/'.$document['pin_yin'].'/'.'id'.'/'.$document['id'])}" title="{$document.title}" target="_blank" draggable="false"><img class="thumb" data-original="{:add_admin_host_prefix($document['cover_id'])}" src="http://statics.wttai.com/debug/img/dot.png" alt="{$document.title}" style="display: inline;" draggable="false"></a>
                <a href="{:url_route('detail/'.$document['pin_yin'].'/'.'id'.'/'.$document['id'])}" title="" target="_blank">
                <else/>
                   <a class="focus" href="{:url_route('detail/'.$document['pin_yin'])}" title="{$document.title}" target="_blank" draggable="false"><img class="thumb" data-original="{:add_admin_host_prefix($document['cover_id'])}" src="http://statics.wttai.com/debug/img/dot.png" alt="{$document.title}" style="display: inline;" draggable="false"></a>
                   <a href="{:url_route('detail/'.$document['pin_yin'])}" title="" target="_blank">
                </if>
            <header>
            <if condition="0">
                      <!--   <a class="cat" href="#" title="MZ-NetBlog主题">
                <i></i>&nbsp;
              </a> -->
               </if>
              <h2 title="{$document.title}">
                {$document.title}
              </h2>
            </header>
            <p class="note">
            <if condition="strlen($document['description']) gt 128">
            	{:mb_substr($document['description'],0,128)."..."}
              <!-- {:substr_replace($document['description'],'...',370,strlen($document['description']))} -->
            <else/>
            	{$document['description']}
            </if>
            </p>
            <p class="meta">
              <time class="time">
                <i class="glyphicon glyphicon-time"></i>&nbsp;{$document.create_time|date="Y-m-d",###}</time>
          
                <span class="views"><i class="glyphicon glyphicon-eye-open"></i>&nbsp;{$document.view}</span>
       
            </p>
            </a>
          </article>
            <div class="line"></div>
            <if condition="0">
            <!-- 文章中间的广告 -->
            </if>
            <if condition="($key % 3 eq 0) && $centerAd[$key/3-1]['img']">
            <article class="excerpt-pic">
              <div class="content-block hot-content hidden-xs">
                <ul>
                  <li style="width: 100%">
                    <a  href="{$v['url']}" target="_blank"><img  src="{$Think.const.STATIC_DOMAIN}{$centerAd[$key/3-1]['img']}" alt="{$centerAd[$key/3-1]['title']}"  title="{$centerAd[$key/3-1]['title']}"></a>
                    <h3 class="seo-h"></h3></a>
                </li>
              </ul>
            </div>
          </article>
            </if>
          </volist>
          <div class="quotes" style="margin-top:15px">
               
                <nav>
                <if condition="$page neq 1">
                
                {$pageStr}
                	
                </if>
            	</nav>
                
          </div>
        </div>
      </div>
      <aside class="sidebar hidden-xs">
      <if condition="$rightAd">
       <div class="widget widget_sentence">
            <a href="{$rightAd['url']}" target="_blank" rel="nofollow" title="">
            <img  src="{$Think.const.STATIC_DOMAIN}{$rightAd['img']}" alt="{$rightAd['title']}"  title="{$rightAd['title']}"></a>
        </div>
      </if>
        <if condition="$category">
          <div class="widget ">
            <h3><a href="{:url_route('cate')}">分类</a></h3>
            <div class="tag-cloud">
              <volist name="category"  id="data">
                 <a href="{:url_route('cate/'.$data['name'])}">{$data['title']}</a> 
              </volist>
            </div>
          </div>
        </if>
        <if condition="$righttwoAd">
         <div class="widget widget_sentence">
            <a href="{$righttwoAd['url']}" target="_blank" rel="nofollow" title="">
            <img  src="{$Think.const.STATIC_DOMAIN}{$righttwoAd['img']}" alt="{$righttwoAd['title']}"  title="{$righttwoAd['title']}"></a>
        </div>
        </if>
    
       <if condition="count($shopInfo) egt 1">
          <div class="widget widget_hot">
            <h3>推荐店铺</h3>
            <ul>
              <volist name="shopInfo" id="v">
	              <li>
	                <a title="" href="{$v['store_url']}" target="_blank" draggable="false">
	                  <span class="thumbnail">
	                    <img class="thumb"  src="{$v['shop_logo']}" alt="" style="display: block;" draggable="false"></span>
	                  <span class="text" title="{$v['store_name']}" style="margin-top:8px">{$v['store_name']}</span>
	                  <span class="muted multiple-ellipsis2">{$v['store_introduction']}</span>
	                </a>
	              </li>
			 </volist>
            </ul>
          </div>
       </if>
        <if condition="$rightthreeAd">
         <div class="widget widget_sentence">
            <a href="{$rightthreeAd['url']}" target="_blank" rel="nofollow" title="">
            <img  src="{$Think.const.STATIC_DOMAIN}{$rightthreeAd['img']}" alt="{$rightthreeAd['title']}"  title="{$rightthreeAd['title']}"></a>
        </div>
        </if>
        <!--  -->
        <div class="widget widget_sentence">
            <h3><a href="{:url_route('new')}">热门资讯</a></h3>
            <div class="widget-tabs">
              <div class="tab-content">
                <ul>
                  <volist name="hotDoc" id="v">
                    <li>
                      <if condition="$v.count gt 1">
                          <time datetime="{:date('Y-m-d',$v['create_time'])}">{:date('m-d',$v['create_time'])}</time>
                          <a href="detail/{$v['pin_yin']}/id/{$v['id']}" target="_blank" draggable="false">{$v['title']}</a></li>
                          
                      <else/>
                          <time datetime="{:date('Y-m-d',$v['create_time'])}">{:date('m-d',$v['create_time'])}</time>
                          <a href="detail/{$v['pin_yin']}" target="_blank" draggable="false">{$v['title']}</a></li>
                      </if>
                    <li>
                  </volist>
                </ul>
              </div>
            </div>
        </div>
         <if condition="$rightfourAd">
         <div class="widget widget_sentence">
            <a href="{$rightfourAd['url']}" target="_blank" rel="nofollow" title="">
            <img  src="{$Think.const.STATIC_DOMAIN}{$rightfourAd['img']}" alt="{$rightfourAd['title']}"  title="{$rightfourAd['title']}"></a>
        </div>
        </if>
          <div class="hidden-xs">
          <!-- <div class="message"> -->
            <div class="widget widget-message">
              <h3>我要留言</h3>
              <div class="mes-content">
                <form id="mes-form">
                <div class="form-group">
                  <input type="text" class="form-control" id="name" name="name" placeholder="姓名">
                </div> 
                <div class="form-group">
                  <input type="tel" class="form-control" id="phone" name="phone" placeholder="手机号码">
                </div>
                <div class="form-group">
                  <textarea class="form-control" rows="3" id="content" name="content" placeholder="您的留言"></textarea>
                </div>
                <div class="form-group clear">
                  <input type="text" class="form-control" style="width:172px; height:32px" id="rand" name="rand" placeholder="图形验证码">
                  <img style="width:100px; height:32px;cursor: pointer;" id="txm" src="{:U('LiuYan/verify')}" >
                  <script type="text/javascript">
                    $('#txm').on('click', function() {
                      var yamUrl = "{:U('LiuYan/verify')}";
                      $(this).attr('src', yamUrl)
                    })
                  </script>
                </div>
                <!-- <div class="form-group clear">
                  <input type="text" class="form-control fl" id="rand" name="rand" placeholder="短信验证码">
                  <div class="rand_but fr">获取验证码</div>
                </div> -->
                <div class="tr">
                  <button type="button" class="btn btn-danger mes_submit">&emsp;留言&emsp;</button>
                </div>
                </form>
              </div>
            </div>
          </div>

		<if condition="$rightfiveAd">
         <div class="widget widget_sentence">
            <a href="{$rightfiveAd['url']}" target="_blank" rel="nofollow" title="">
            <img  src="{$Think.const.STATIC_DOMAIN}{$rightfiveAd['img']}" alt="{$rightfiveAd['title']}"  title="{$rightfiveAd['title']}"></a>
        </div>
        </if> 
        <div class="">
        <!-- <div class="fixed"> -->
            
            <div class="widget ">
              <h3><a href="{:url_route('tags')}">标签云</a></h3>
              <div class="tag-cloud">
                <if condition="$tags">
                  <volist name="tags"  id="data">
                     <a href="{:url_route('tags/'.$data['name'])}">{$data['tag_name']}</a> 
                  </volist>
                </if>
                <div class="gzh" style="padding:15px 0 10px 0;float:left">
                  <img src="/Public/images/gzh.png" alt="梧桐珆公众号" style="width:45%;float:left">
                  <div style="float:left;margin:15px 0 10px 10px">
                    <h4>
                        梧桐珆公众号
                    </h4>
                    <div style="width:20px;border-bottom:2px #111 solid;height:0;font-size:0;margin:15px 0 15px 0;"></div>
                    <p>
                      扫码关注微信公众号<br>
                      找原创货源 上梧桐珆
                    </p>
                  </div>
                </div>

              </div>
            </div>
        </div>
                  <div class="widget widget_sentence">
            <h3>关于我们</h3>
            <div class="widget-tabs" style="height:175px">
              <div class="tag-cloud" style="color:#999;line-height:25px;text-indent: 2em;" >
               		衣商网是广州市东域信息科技有限公司旗下的原创设计师服务资讯网站，是公司平台梧桐珆的资讯延伸部分，梧桐珆是专注全球原创设计的资源型商业化云共享平台，为设计师、服饰面料商、服饰生产厂商、服饰品牌商、服饰门店等多方提供精准商业对接。
              </div>
            </div>
          </div>
      </aside>
    </section>  
    	<section class="container" style="background: #fff;margin: 20px auto 30px auto;">
		<div class="links">
		    <div class="container">
		        <div class="tit-text"><a href="/company/more-partners.html" target="_blank">合作伙伴</a></div>
		        <ul class="pic-link clear">
		        	<volist name="cooperate"  id="v">
			            <li>
			                <a href=" {$v['link']}" rel="nofollow" title="{$v['name']}" target="_blank">
			                    <img src="http://static.fengxiulin.cn.{$v['img']}" alt="{$v['name']}">
			                </a>
			            </li>
			         </volist>
		            <!-- <li>
		                <a href=" http://www.vanke.com/" rel="nofollow" title="万科云" target="_blank">
		                    <img src="http://img.wttai.com/20170322/20170322153421_74444.png" alt="万科云">
		                </a>
		            </li> -->
		        </ul>
		        <div class="tit-text"><a href="/company/more-partners.html" target="_blank">友情链接</a></div>
		        <ul class="text-link clear">
		        		<volist name="friendLink"  id="vo">
		        			    <li>
		                			<a href="{$vo['link']}" rel="nofollow" title="{$vo['name']}" target="_blank">{$vo['name']}</a>
		            			</li>
		        		</volist>
		            <!--  <li>
		                <a href="http://www.alivv.com" rel="nofollow" title="链接平台" target="_blank">
		                    链接平台                </a>
		            	</li>
		            	<li class="more"><a href="">更多</a></li>
		            -->
		        </ul>
		    </div>
		</div>
	</section>
  <style type="text/css">
    .back_old{display: none}
  </style>
</block>